home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / CD32 / CD32-Tools / simcd32-401 / s / startup-sequence < prev   
Encoding:
Text File  |  1993-12-22  |  1.6 KB  |  47 lines

  1. ; This is a sample floppy startup-sequence which will boot your system into
  2. ; an envirnoment similiar to the one found on the AmigaCD32. There are six
  3. ; steps involved:
  4. ;
  5. ; 1> Run the SimCD32Env program.
  6. ; 2> Run the SimCD32 program.
  7. ; 3> Mount cd0:.
  8. ; 4> Turn off fast memory.
  9. ; 5> Assign everything over to cd0:.
  10. ; 6> execute the cd0:s/startup-sequence
  11.  
  12.  
  13. .bra {
  14. .key }
  15.  
  16. sys:SimCD32Env/SimCD32Env   ; Fire up the Simulated CD32 envirnoment for SimCD32.
  17.                             ; Preloads libraries, sets ChipRev, and opens up a 
  18.                             ; simulated startup animation. You could add the
  19.                             ; CDTV.TM keyword to boot up without AA enabled
  20.                             ; (to simulate booting a CDTV trademarked disk).
  21.                             ; This requires the presence of the simulated
  22.                             ; freeanim.library in the library search path.
  23.  
  24. ; Point SimCD32 to your ISOimage
  25. run >nil: <nil: sys:SimCD32/SimCD32 work:ISOImage
  26.  
  27. Mount cd0: FROM Devs:SimCD32_Mountlist
  28.  
  29. run >Nil: <Nil: c:NoFastMem ; The CD32 has NO fast memory.
  30. c:Wait 1                ; Wait to let NoFastMem take effect.
  31.  
  32. assign sys: cd0:            ; Assign everything over to CD0:
  33. assign s: sys:s
  34. assign c: sys:c
  35. assign devs: sys:devs
  36. assign l: sys:l
  37. assign libs: sys:libs ADD   ; The libs on this floppy contain lowlevel.library
  38.                             ; and nonvolatile.library. So use the ADD keyword
  39.                             ; so these libraries can be found, while adding
  40.                             ; the sys:libs to the search path.
  41.  
  42. assign t: ram:
  43.  
  44. execute s:startup-sequence  ; execute the ISO's startup-sequence
  45.  
  46. endcli >nil:
  47.